/* mapToolbar.scss */
@charset "UTF-8";
@import "common/var";
@import "mixins/mixins";

@include b(mapToolbar) {
  position: fixed;
  right: 20px;
  top: calc(#{$--height-navbar} + 10px);
  z-index: 2000;

  &-item {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba($color: $--color-primary, $alpha: 1);
    background: linear-gradient(0deg, rgba($color: $--color-bgColor, $alpha: 0.8), rgba($color: $--color-bgColor, $alpha: 0.5), rgba($color: $--color-bgColor, $alpha: 0.8));
    border-image: linear-gradient(0deg, $--color-primary, $--color-primary, $--color-primary) 1 1;
    box-shadow: 0px -2px 20px 0px rgba(78,152,253,0.3);
    border: 2px solid rgba($color: $--color-primary, $alpha: 1);
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;

    i {
      font-size: 28px;
    }
  }

  &-activeItem {
    border: 2px solid rgba($color: $--color-active, $alpha: 1);
    color: rgba($color: $--color-active, $alpha: 1);
    box-shadow: 0 0 0.625rem 0.125rem rgba($color: $--color-active, $alpha: 0.3) inset;
  }
}